package com.java.interfaces.exer1;

/**
 * @author luzhikun
 * @date 2020/12/6- 16:20
 */
public class Dog extends Animal {
    public Dog() {

    }

    public Dog(String name, String color, int age) {
        super(name, color, age);
    }

    @Override
    public void eat() {
        System.out.println("狗啃骨头");
    }

    @Override
    public void sleep() {
        System.out.println("狗晚上睡觉");

    }
}
